package com.itheima_01;

import java.util.Date;

public class DataDemo01 {
    public static void main(String[] args) {
        Date data =new Date();
        Date data1 =new Date(1000*60*60*24*100);
        System.out.println(data);
        System.out.println(data1);

        System.out.println("-------------------");
        Date date3 = new Date();
        date3.setTime(1000L);
        System.out.println(date3.getTime());


    }

}
